package com.project.mapper;

import com.github.pagehelper.PageInfo;
import com.project.bean.LogBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface ILogMapper {
    @Mapper
    /**
     * 按时间查询日志
     * @param startDate 起始日期
     * @param endDate 结束日期
     * @return 日志集合
     */
    public List<LogBean> findByDate(@Param("startDate") LocalDate startDate, @Param("endDate")LocalDate endDate);
}
